﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BLL.Services.Messages.Listing
{
    public class ListingMessage
    {
        public ListingMessage()
        {
            Messages = new List<MessageList>();
        }

        public List<MessageList> Messages { get; set; }

        public int TotalPages { get; set; }

        public int Size { get; set; }

        public int Page { get; set; }

        public int UserId { get; set; }

        public class MessageList
        {

            [Display(Name = "Message")]
            public string Message { get; set; }

            [Display(Name = "Email")]
            public string Email { get; set; }

            [Display(Name = "Avatar")]
            public string Avatar { get; set; }

            [Display(Name = "Login")]
            public string Login { get; set; }


        }
    }
}
